package com.znsd.exam.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.znsd.entitys.ClassInfo;
import com.znsd.entitys.ExamPlan;

/**
  *
  * <p>Title: ExamPlanInfoService</p>
  * <p>Description: </p>
  * @author: taohan
  * @date: 2018-8-22
  * @time: 下午4:05:30
  * @version: 1.0
  */

@Repository
public interface ExamPlanService {

	public List<ExamPlan> getExamPlans(Map<String, Object> map);
	
	public int addExamPlan(ExamPlan examPlan);

	public int updateExamPlan(ExamPlan examPlan);
	
	public ExamPlan getExamPlanById(int examPlanId);
	
	public ExamPlan getExamPlanByIdTwo(int examPlanId);
	
	//查询学生待考信息
	public List<ExamPlan> getStudentWillExam(Map<String, Object> map);
	
	public int removeExamPlan(int examPlanId);
	
	public List<ClassInfo> getClasses(ClassInfo clazz);
	
	public List<ExamPlan> getExamPlansTwo();
	
	public int getExamCount(Map<String,Object> map);

	public List<ExamPlan> getOne(Integer examPaperId);
	
	public List<ExamPlan> getOneClass(Integer examPaperId);
	
}
